home *** CD-ROM | disk | FTP | other *** search
- Path: essex.UCHSC.edu!mcclured
- From: David McClure <mcclured@essex.UCHSC.edu>
- Newsgroups: comp.lang.c++
- Subject: 64K segment limit:Newbie seeks enlightenment
- Date: Sun, 7 Apr 1996 23:24:38 -0600
- Organization: University of Colorado, Health Sciences Center
- Message-ID: <Pine.ULT.3.91.960407231001.3447A-100000@essex.UCHSC.edu>
- NNTP-Posting-Host: essex.uchsc.edu
- Mime-Version: 1.0
- Content-Type: TEXT/PLAIN; charset=US-ASCII
-
- We're coding a computer sim in BC4.52 of human anatomy for and are
- concerned about the 64K segment limit with 3D arrays
- that are upto several megabytes in size.
-
- Could anyone expound on the 64K segment limit in win3.1. My limited
- understanding of it is 64K = segment length = local heap size+ stack heap +
- static data + 16 byte header. Is this why arrays are limited to < 64K?
- We want to use upto 4 or 8 meg total 3D arrays (they simulate human anatomy).
- Right now we use triple pointers. But how is this large array data
- accessed when the limit is 64K ? Also what is the limit for win3.51?
- I don't think we can use the huge memory model because that's only for
- DOS apps.
-
-
- *****************************
- * David.McClure@UCHSC.edu *
- *****************************
-
-